package com.easytouch.vm.service;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;

import com.easytouch.core.TYPayLongThread;


public class TYPayLongService extends Service {

    private TYPayLongThread mTYPayLongThread;

    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public int onStartCommand(Intent intent,int flags, int startId) {
        if (mTYPayLongThread != null) {
            return super.onStartCommand(intent, flags, startId);
        }
        mTYPayLongThread= TYPayLongThread.getInstance();
        return super.onStartCommand(intent, flags, startId);
    }
}
